<script lang="ts" setup>
</script>
<template>
    <div class="bouncing-dots">
        <div class="dot bg-primary-300"></div>
        <div class="dot bg-primary-300"></div>
        <div class="dot bg-primary-300"></div>
    </div>
</template>

<style scoped>
.bouncing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
</style>